<template>
  <div class="login">
  <div class="top">
      <!-- 顶部图标 -->
     <van-row type="flex" justify="center">
  <van-col span="10"><van-icon name="arrow-left" @click='$router.push("/")' /></van-col>
  
  <van-col class="top-r" span="10"><van-icon name="wap-home-o" /></van-col>
</van-row>
  <!-- 顶部logo -->
   <div class="cnet">
    <img src="../assets/首页/首页1.png" alt="">
 </div>
  </div>
  <!-- 内容 -->
 <div class="content">
    <ul>
      <li  @click='$router.push("/custmerList")'><div><img src="../assets/首页/图标/我的客户.png" alt=""></div><i>我的客户</i> <i>MY CLIENTS</i></li>
      <li  @click='$router.push("/cust")'><div class="small"><img  src="../assets/首页/图标/客户关怀.png" alt=""></div><i>客户关怀</i><i>CUSTOMER</i></li>
      <li @click='$router.push("/message")'><div><img src="../assets/首页/图标/消息中心.png" alt=""></div><i>消息中心</i><i>NEWS</i></li>
      <li  @click='$router.push("/star")'><div class="small1"><img  src="../assets/首页/图标/物流单.png" alt=""></div><i>物流单</i><i>LOGISTICS</i></li>
      <li  @click='$router.push("/dilivery/all")'><div><img src="../assets/首页/songhuodan.png" alt=""></div><i>发货单</i><i>MY CLIENTS</i></li>
    </ul>
 </div>
 <!-- 底部 -->
 <div >
<van-row class="bottom" type="flex" justify="center">
  <van-col span="6"><img src="../assets/首页/图标/系统功能.png" alt=""><i>系统功能</i></van-col>
  <van-col  span="6"><img src="../assets/首页/联系.png" alt=""><i>联系</i></van-col>
  <van-col  span="6" @click='$router.push("/user")'><img src="../assets/首页/图标/个人中心.png" alt=""><i>个人中心</i></van-col>
</van-row>
 </div>
  </div>
</template>

<script>
export default {
created(){
  console.log(this.$store.state.num);
}
}
</script>

<style lang='less' scoped >
.top-r{
  text-align: right;
}

.top{
  background-color:  #003399;
  height: 30%;
  padding-top: 4%;
  .van-col--10{
    color: white;
     font-size: .2rem;
  } 
}

.cnet{
  width: 100%;
  height: 1.5rem;
  position: relative;
  top: .2rem;
  img{
     height: 100%;
     width: 100%;
     
  }
}
.login{
  background:#f3f3f3;
}
.content{
  margin: 10%;
  ul{
    display: flex;
    justify-content: space-between;
    align-content: space-around;
    flex-wrap: wrap;
    padding: .1rem;
    li{
      width: 48%;
      height: 1.75rem;
      display: flex;
      align-content: center;
      justify-content:space-around;
      flex-wrap: wrap;
      text-align: center;
      margin-top: .1rem;
     
      background: #ffffff;
     div{
       width: 40%;
         
        
        img{
          width: 100%;
        
      }
     
     }
     
      i{
        padding: .05rem;
        width: 100%;
      }
     
    }
  }
}
.small{
      margin: 11% 0;
      } 
      .small1{
      margin: 7% 0;
      } 
.bottom{
  position: fixed;
  bottom: 0;
  background: #ffffff;
  width: 100%!important;
  height: 10%;
  .van-col{
    display: flex;
    align-content: center;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
    
     img{
       width: 30%;
      //  height: 50%;
     }
    i{
      width: 100%;
      padding: .1rem;
    }
  }
}
</style>